﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MemberList.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Basics.Shop.Member.MemberList" %>



<%@ Import Namespace ="ZLCMS.Business.Util" %>

<%=_framePage.GetPagerFormHtml(Request.RawUrl)%>


<%=_framePage.TabInfoHtml()%>

<form id="pageForm" method="post" class="pageForm" runat="Server">
<div class="pageHeader">
	<div class="searchBar">

        <table class="searchContent">
        	<tr>
        		<%--<td>帐号</td>
                <td> <input   type="text" cond='account' value='<%=Request["account"] %>'/></td>--%>
        		<td>手机号码</td>
                <td> <input   type="text" cond='phone' value='<%=Request["phone"] %>'/></td>
        		<td>姓名</td>
                <td> <input   type="text" cond='name' value='<%=Request["name"] %>'/></td>
        		<%--<td>状态</td>
                <td> 
                <select cond="status">
                    <option value="-1">--请选择--</option>
                </select>
                </td>--%>
                
        	</tr>
        </table>
	    <div class="subBar">
			<ul>
			<li>
			    <a class="button" href="<%= Request.Path %>" onclick="ZLAN_DWZ_EX.query(this);" 
			    target="navTab" rel="<%= _framePage.NavTabId %>" title="<%= _framePage.NavTabTitle %>"><span>&nbsp;查&nbsp;询&nbsp;</span></a>
			</li>
            
			<li>
			    <a class="button" href="<%= Request.Path %>" onclick="ZLAN_DWZ_EX.exportFile(this);" 
			    target="dwzExport" rel="exportexcel" title="导出EXCEL"><span>导出EXCEL</span></a>
			</li>
			</ul>
	    </div>
	</div>
</div>
</form>

<div class="pageContent">   
   	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add"  href="/SystemManage/Basics/Shop/Member/MemberDetail.aspx" target="navTab" rel="MemberDetail" title="会员明细"><span>添加</span></a></li>
            <li><a class="delete" href="/SystemManage/Basics/Shop/Member/MemberDelete.aspx" target="selectedTodo" title="请确定要删除勾选会员"><span>删除</span></a></li>
		
        </ul>
	</div>
	<div class="tableList"   layoutH="116">
	<table class="list" targetType="navTab" asc="asc" desc="desc">
	    <thead>
			<tr>
                <th width="22px"><input type="checkbox" group="ids" class="checkboxCtrl"/></th>
				<th width="80px">头像</th>
                <th width="100px">手机号码</th>

				<th width="100px">姓名</th>
                <th width="100px">微信号</th>
                <th width="100px">微信昵称</th>
				<th width="100px">邮箱</th>
                <th width="100px">注册时间</th>
                <th width="100px">积分</th>
				<th width="100px">等级</th>
				<th width="120px">备注</th>
				<th width="80px">所属</th>
				<th width="120px" align=center>操作</th>
			</tr>
		</thead>
		<tbody>
            <asp:repeater runat="server" id="repeater1">
                <ItemTemplate>
			    <tr target="uid" rel=<%# Eval("Id")%>>
                    <td><input name="ids" value="<%#Eval("Id")%>" type="checkbox"/></td>
                    <td width="80px" height="80px"><img width="80px" src="<%#ZLCMS.Business.Util.FileKit.FirstFilePath(Eval("PhotoUrl")) %>"></td>
                    <td><%# Eval("Phone")%></td>           
				    <td><%# Eval("MemberName")%></td>
				    <td><%# Eval("WxOpenId")%></td>
				    <td><%# Eval("NickName")%></td>
				    <td><%# Eval("Email")%></td>
                    <td><%#Convert.ToDateTime(Eval("AddDate").ToString()).ToShortDateString()%></td>
				     <td>
                    <a href="/SystemManage/Basics/Shop/Member/ScoreList.aspx?acc=<%# Eval("AccountId")%>&tabid=ScoreList&tabtitle=积分记录" target="navTab" rel="ScoreList" title="积分记录">
                    <%# Eval("Score")%></a>
				        </td>
				    <td><%# ParamKit.GetValue("MemberLevel", Eval("Level") as string, "&nbsp")%></td>
				    <td><%# Eval("Remarks")%></td>
				    <td><%# Eval("OwnerAccount")%></td>

				    <td align=center>
				        <a href="/SystemManage/Basics/Shop/Member/MemberDetail.aspx?uid=<%# Eval("Id")%>" target="navTab" rel="MemberDetail" title="会员明细">编辑</a>
				        &nbsp;&nbsp;
				        <a href="/SystemManage/Basics/Shop/Member/MemberDelete.aspx?ids=<%# Eval("Id")%>" target="ajaxTodo" title="请确定要删除">删除</a>
                        
				    </td>
			    </tr>
                </ItemTemplate>
            </asp:repeater>
		</tbody>
	</table>

	</div>
	
    
    
<%= _framePage.GetPagerContentHtml() %>
</div>
